home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / MFC64bitFix.h < prev    next >
C/C++ Source or Header  |  2011-11-06  |  1KB  |  36 lines

  1. // FileZilla Server - a Windows ftp server
  2.  
  3. // Copyright (C) 2002-2004 - Tim Kosse <tim.kosse@gmx.de>
  4.  
  5. // This program is free software; you can redistribute it and/or
  6. // modify it under the terms of the GNU General Public License
  7. // as published by the Free Software Foundation; either version 2
  8. // of the License, or (at your option) any later version.
  9.  
  10. // This program is distributed in the hope that it will be useful,
  11. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. // GNU General Public License for more details.
  14.  
  15. // You should have received a copy of the GNU General Public License
  16. // along with this program; if not, write to the Free Software
  17. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  18.  
  19. #pragma once
  20.  
  21. BOOL GetLength64(LPCTSTR filename, _int64 &size);
  22.  
  23. struct CFileStatus64
  24. {
  25.     FILETIME m_ctime;          // creation date/time of file
  26.     FILETIME m_mtime;          // last modification date/time of file
  27.     FILETIME m_atime;          // last access date/time of file
  28.     _int64 m_size;            // logical size of file in bytes
  29.     BYTE m_attribute;       // logical OR of CFile::Attribute enum values
  30.     //BYTE _m_padding;        // pad the structure to a WORD
  31.     //TCHAR m_szFullName[_MAX_PATH]; // absolute path name
  32. };
  33.  
  34. BOOL PASCAL GetStatus64(LPCTSTR lpszFileName, CFileStatus64& rStatus);
  35.  
  36. _int64 GetPosition64(HANDLE hFile);